package com.article.dao;

import com.answer.dao.base.BaseDao;
import com.article.model.ArticleInfo;

import java.util.List;

/**
 * Created by Administrator on 2017/5/2.
 */
public interface ArticleInfoDao extends BaseDao<ArticleInfo> {
    List<ArticleInfo> listCount();

    ArticleInfo getLastArticle(Long id);

    ArticleInfo getNextArticle(Long id);

}
